package com.learn.ert.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.ert.pojo.UserEntity;

public interface UserMapper extends BaseMapper<UserEntity> {

    //    String getUser();
//    @Select("SELECT user_id AS USERID ,MOBILE AS MOBILE,PASSWORD AS PASSWORD, user_name AS USERNAME ,SEX AS SEX ,AGE AS AGE ,CREATE_TIME AS CREATE_TIME,IS_AVALIBLE AS ISAVALIBLE,PIC_IMG AS PICIMG FROM user  WHERE MOBILE=#{mobile} and password=#{password};")
//    UserEntity login(@Param("mobile") String mobile, @Param("password") String password);

}
